/* banner 开始啦  */
.banner {
  position: relative;
  height: 500px;
  background-color: #eee;

}

.banner .wrapper {
  position: relative;
  overflow: hidden;
  height: 500px;

}

.banner .wrapper>ul {
  display: flex;
  width: 300%;
}

.banner .circle {
  display: flex;
  position: absolute;
  bottom: 10px;
  right: 10px;

}

.banner .circle li {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  margin-left: 5px;
  /* 鼠标变成小手 */
  cursor: pointer;
}

.banner .circle li::after {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background-color: #fff;
  border-radius: 50%;
}

.banner .circle .active {
  background-color: rgba(255, 255, 255, .5);
}

/* 侧边栏 */
.banner .subnav {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: 500px;
  background-color: rgba(0, 0, 0, 0.42);
}

.banner .subnav li {
  position: relative;
  height: 50px;
  line-height: 50px;
  padding-left: 29px;
  color: #fff;
  font-size: 14px;
  /* background-color: pink; */
}

.banner .subnav li::after {
  content: "\e687";
  position: absolute;
  top: 0;
  right: 18px;
  font-size: 16px;
  /* 声明字体图标 */
  font-family: iconfont;
}

.banner .subnav li:hover {
  background-color: var(--lv);
}



.banner .subnav li a:first-child {
  font-size: 16px;
  margin-left: 5px;
}

/* 新鲜好物 */
.hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 30px;

}

.hd h2 {
  font-size: 30px;
}

.hd h2 span {
  font-size: 16px;
  color: var(--ge);
  margin-left: 30px;
}

.hd .all {
  font-size: 16px;
  color: var(--ge);
}

.hd .all:hover {
  color: var(--lv);
}



.bd ul {
  display: flex;
  justify-content: space-between;
  align-content: space-between;
}

.bd ul li {
  width: 304px;
  height: 404px;
  margin-left: 2px;
  background-color: #f0f9f5;
  text-align: center;
  transition: all .3s;
}

.bd ul li:hover {
  margin-top: -6px;
  border: 1px solid rgba(0, 0, 0, .32);
  box-shadow: 1px 10px 10px rgba(0, 0, 0, .4);
}

.bd ul li a {
  display: block;
  height: 100%;
}

.bd ul li .pic {
  width: 304px;
  height: 304px;

}

.bd ul li h4 {
  font-size: 20px;
  margin: 18px 12px 9px;
}

.bd ul li p {
  color: #AA2213;
  font-size: 17px;
}

.bd ul li p span {
  font-size: 22px;
}

.recommend .bd li {
  background-color: #fff;
}

.recommend .bd li p {
  font-size: 14px;
  color: var(--ge);
}

/* 热门品牌 */

.brand {
  height: 476px;
  background-color: #f5f5f5;
  margin-top: 50px;
}

.brand .hd {
  position: relative;
  display: flex;
}

.brand .bar {
  position: absolute;
  top: 82px;
  right: 0;
  display: flex;
}

.brand .bar a {
  width: 20px;
  height: 20px;
  background-color: var(--ge);
  margin-left: 12px;
  text-align: center;
  line-height: 20px;
  color: #fff;
}

.brand .bar .active {
  background-color: var(--lv);
}

.brand .bd li {
  width: 244px;
  height: 306px;
}

/* <!-- 生鲜模块 --> */
.hd ul {
  display: flex;
  margin-right: 55px;

}

.hd ul li {
  margin-left: 13px;

}

v.hd ul li a {
  padding: 0 5px;
  transition: all .3s;
}

.hd ul li a:hover {
  background-color: var(--lv);
  color: #fff;
}

.fresh .hd h2 {
  flex: 1;
}

/* 内容区域 */

.fresh .content {
  display: flex;
  justify-content: space-between;
}

.fresh .content .left {
  width: 248px;
  height: 610px;
  /* background-color: pink; */
}

.fresh .content .right {
  width: 972px;
  height: 610px;
  /* background-color: skyblue; */
}

.fresh .content .right ul {
  display: flex;
  flex-wrap: wrap;

}

.fresh .content .right li {
  overflow: hidden;
  position: relative;
  width: 242px;
  height: 304px;
  /* background-color: pink; */
  border: 2px solid transparent;
}

.fresh .content .right li>a {
  display: block;
  height: 100%;
  padding: 10px 0 0 20px;
}

.fresh .content .right li:hover {
  border: 2px solid var(--lv);
}

.fresh .content .pic {
  width: 200px;
  height: 180px;
}

.fresh .content .right .info {
  font-size: 16px;
  line-height: 19px;
  margin-top: 14px;

}

.fresh .content .info h4 {
  font-size: 16px;
}

.fresh .content .price {
  color: #AA2213;
  margin-top: 4px;
  font-size: 15px;
}

.fresh .content .price span {
  font-size: 22px;
}

.fresh .content .right li:hover .buy {
  bottom: 0;
}

.fresh .content .buy {
  transition: all .3s;
  position: absolute;
  left: 0;
  bottom: -85px;
  width: 242px;
  height: 84px;
  text-align: center;
  background-color: var(--lv);
  padding: 15px 55px 0;

}

.fresh .content .buy h4 {
  border-bottom: 2px solid rgba(255, 255, 255, .11);
  font-size: 18px;
  color: #fff;
  padding-bottom: 5px;
}

.fresh .content .buy a {
  color: #fff;
  font-size: 14px;
}

.nevs {
  margin-bottom: 50px;
}

/* 最新专题 */
.nevs .bd ul li {
  width: 405px;
  height: 355px;
  background-color: #fff;
}

.nevs .bd ul li .pic {
  position: relative;
  width: 405px;
  height: 288px;
  /* background-color: skyblue; */
}

.nevs .pic .txt {
  position: absolute;
  justify-content: space-between;
  align-items: center;
  display: flex;
  left: 0;
  bottom: 0;
  width: 405px;
  height: 90px;
  /* background-color: skyblue; */
  padding: 20px 15px 0;
  text-align: left;
  /* 渐变色 */
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .4));
}

.nevs .pic .txt .left h5 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 5px;
}

.nevs .pic .txt .left em {
  color: #fff;
}

.nevs .pic .right {
  width: 79px;
  height: 25px;
  color: #AA2213;
  text-align: center;
  line-height: 25px;
  background-color: #fff;
}

.nevs .pic .right span {
  font-size: 18px;
}

.nevs .bd .desc {
  display: flex;
  justify-content: space-between;
  margin: 20px 15px 0;
}

.nevs .bd .desc p span {
  font-size: 14px;
  color: #666;
  margin-left: 5px;
}